package com.baosight.sczx.common.zm.cInterface.cm;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.core.spring.SpringApplicationContext;
import com.baosight.iplat4j.dao.Dao;
import com.baosight.iplat4j.ep.ServiceEPBase;

/**
 * 需求计划详细
 * <p>Title: TeamMaterialPlanDetail.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 高强
 * @version 1.0
 * <pre>Histroy:
 *          2011-9-23 上午09:14:52  高强  Create
 *</pre>
 */
public class TeamMaterialPlanDetail extends ServiceEPBase {
	
	private static Dao dao = (Dao)SpringApplicationContext.getBean("dao");
	
	@SuppressWarnings({ "unchecked", "rawtypes" })
	public static boolean hasPlan(Map<String,String> _argMap, EiInfo eiInfo) {
		
		List<Map>  _list = new ArrayList();
		
		try {
			_list = dao.query("ZMCMTeammaterialplanDetail.queryHasPlan", _argMap);
			if(_list.size() < 1) {
				return false;
			}
			else {
				
			}
		} catch (Exception e) {
			
		}
		
		return true;
	}
}